﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace GoogleServicesLib.StaticMap
{
    public class GTileSouce : Microsoft.Phone.Controls.Maps.TileSource
    {
        public override Uri GetUri(int x, int y, int zoomLevel)
        {
            if (zoomLevel > 0)
            {
                return new Uri("http://mt" + 0 + ".google.com/vt/lyrs=" + "m" + "&z=" + zoomLevel + "&x=" + x + "&y=" + y);
            }
            return null;
        }
    }
}
